<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | rabbitMQ配置文件
// +----------------------------------------------------------------------

use think\facade\Env;

return [

    // 服务器地址
    'host'     => Env::get('rabbitMQ.host'),
    
    //端口
    'port'     => Env::get('rabbitMQ.port'),
    
    // 数据库名
    'user'     => Env::get('rabbitMQ.user'),
    
    // 密码
    'password' => Env::get('rabbitMQ.password'),
    
    //队列名称
    'channel' => [
        'centOs' => [
            0 => 'IOS_SIGN',
            1 => 'COMPANY_SIGN',
            2 => 'SUPER_SIGN',
            3 => 'WEB_SIGN',
            4 => 'ANDROID_SIGN',
            5 => 'INIT_ACCOUNT',
            6 => 'RESIGN'
        ],
        'mac' => [
            0 => 'MAC_IOS_SIGN',
            1 => 'MAC_SUPER_SIGN',
            2 => 'IMPORT_DEVELOP_ACCOUNT',
        ]
    ]
];
